<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/3/30 0030
 * Time: 下午 2:45
 */
class Car
{
    var $color;
    function Car($color="green")  {
        $this->$color = $color;
    }
    function what_color()  {
        return $this->color;
    }
}
?>